package com.cai.primeton.repository;

import com.cai.primeton.entity.PUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/7/1 11 : 51
 * @package：com.cai.primeton.repository
 */

public interface UserRepo extends JpaRepository<PUser,Integer>{
    PUser findByUsernameAndPassword(String username,String password);

}
